<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>         
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="css/sal.css" rel="stylesheet" type="text/css" />
<title>Insert title here</title>
</head>
<body>
<ul id="nav">
	<li class="current"><a href="Ordering">Home</a></li>

	<li><a href="#">Promotions</a>

	</li>
	<li><a href="History">Customer History</a></li>
	<li><a href="AssignedTable">Assigned Tables</a></li>
</ul></br></br></br></br>
<c:forEach items="${ assigned }" var="assign"  varStatus="counter">
<form action="Ordering">
	<c:if test="${assign}">
		<button type="button" name="" value="${counter.index + 1 }" class="css3button">Table ${counter.index + 1 } </button>
	</c:if>
	<c:if test="${!assign}">
		<button type="button" name="" value="" class="css2button">Table ${counter.index + 1} </button>
	</c:if>
	<c:if test="${( (counter.index + 1) / 6) == 0}"></br></br></c:if>
</c:forEach>
</form>

</body>
</html>